
package com.hlkj.pay.infrastructure.model.common;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;
import com.hlkj.pay.enums.MerchantEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 进件日志
 * 
 * @TableName t_operated_log
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_operated_log")
public class OperatedLogDO extends BaseDO {

    /**
     * 数据类型 1=进件，2=商户，3=报备
     *
     * @see MerchantEnum.MERCHANT_LOG_TYPE
     */
    private Integer relationType;

    /**
     * 关联ID
     *
     */
    private Long relationId;

    /**
     * 操作类型
     */
    private String operType;

    /**
     * 操作描述
     */
    @Schema(description = "操作描述")
    private String remark;

}
